package com.caigou.service;

import com.caigou.bean.cms.entity.ArticleImage;
import com.caigou.pojo.ArticleImageData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleImageService {
    ArticleImage saveArticleImageData(String articleId, Integer imageId, String imageUrl, String ImageInfo, String imageAlt, Integer showIndex);

    List<ArticleImageData> loadArticleImageData(String articleId);

    int updateArticleImageData(Integer id, Integer imageId, String imageUrl, String imageInfo, String imageAlt, Integer showIndex, String articleId);

    int deleteArticleImageData(Integer id);

    int deleteArticleImageByArticleId(String articleId);
}
